# Define here the models for your scraped items
#
# See documentation in:
# https://docs.scrapy.org/en/latest/topics/items.html

import scrapy


class SpiderSourceItem(scrapy.Item):
    # define the fields for your item here like:
    # name = scrapy.Field()
    pass


class Job(scrapy.Item):
    className = 'job'
    title = scrapy.Field()  # 职位名称
    salary_min = scrapy.Field()  # 最低薪资
    salary_max = scrapy.Field()  # 最高薪资
    province = scrapy.Field()  # 工作省份
    city = scrapy.Field()  # 工作城市
    area = scrapy.Field()  # 工作区域
    catalog = scrapy.Field()  # 工作性质 类别  全职/兼职
    category = scrapy.Field()  # 行业类别
    experience = scrapy.Field()  # 工作经验
    education = scrapy.Field()  # 学历要求
    job_desc = scrapy.Field()  # 职位描述
    job_url = scrapy.Field()  # 职位源网址
    job_company = scrapy.Field()  # 公司名称
    from_site = scrapy.Field()  # 职位来源网站，如：www.cqhc.org-合川人才网-合川区
    date = scrapy.Field()  # 发布日期
    phone_num = scrapy.Field()  # 联系电话


class YingJieShengJob(scrapy.Item):
    title = scrapy.Field()  # 职位名称
    city = scrapy.Field()  # 工作城市
    date = scrapy.Field()  # 发布日期
    catalog = scrapy.Field()  # 工作性质 类别  全职/兼职
    job_tag = scrapy.Field()  # 职位标签
    job_desc = scrapy.Field()  # 职位描述
    job_url = scrapy.Field()  # 职位源网址
    job_company = scrapy.Field()  # 公司名称
    industry_company = scrapy.Field()  # 公司行业
    scale_company = scrapy.Field()  # 公司规模
    category_company = scrapy.Field()  # 公司类型  国企
